package com.libre.common.constant;

/**
 * @Description 系统常量
 * @Author 庞留杰
 * @Date2020/7/17 10:12
 * @Version V1.0
 **/
public class SysConstant {

    //Token类型标识（Bearer 的格式:Bearer XXXXXXXX）
    public final static String TOKEN_SPLIT = "Bearer ";
    //权限参数头
    public final static String AUTHORITIES = "authorities";
    //token名称
    public final static String TOKEN_NAME = "accessToken";
    //Redis中accessToken名称
    public final static String REDIS_ACCESS_TOKEN = "AUTH:ACCESS_TOKEN_";
    //Redis中角色名称
    public final static String REDIS_ROLE = "AUTH:ROLE_";
    // 登陆角色
    public final static String ROLE_LOGIN = "ROLE_LOGIN";

}
